package com.kaikeba.util;

import com.google.gson.Gson;

/**
 * 把对象编程JSON字符串
 */
public class JSONUtil {
    private static Gson g = new Gson();
    public static String toJSON(Object o){
        return g.toJson(o);
    }
}
